import { getAppChanges } from "../application/app";
import { started } from "../application/start";
async function loadApp(){ //预加载应用

}

async function performAppChanges(){ // 加载并且挂载

}
export function reroute(){

    const {appsNeedLoad, appsNeedUnMount, appsNeedMount} = getAppChanges();
    if(started == true){
        console.log("start")
        return performAppChanges();
    }

    if(started == false){
        console.log("register")
        return loadApps();
    }
}